#ifndef _VOLUME_H_
#define _VOLUME_H_

#include "Quantity.h"
#include "VolumeUnit.h"
#include <ostream>


class Volume : public Quantity<VolumeUnit>
{
friend std::ostream& operator<<(std::ostream&, const Volume&);

public:
    Volume(const Amount&, const VolumeUnit&, const Formater& formater);
    
private:
    void format(std::ostream& )const;
    const Formater& formater;
};
#endif
